/** @author: duanhaijiao  @date 2022/7/9--21:05 **/

/* name: "mydetail" */
<template>
    <div class="mydetail" v-html="detailInfo">

    </div>
</template>

<script>
    import {home} from '@/assets/api/api.js'
    export default {
        name: "mydetail",
        data() {
            return {
                detailInfo:''
            }
        },
        watch:{
            pageId:function(value){
                this.getData()
            },
        },
        activated() {
        },
        mounted() {
            this.getData()
        },
        methods: {
            getData(){
                this.$http(home.wydetail,{
                    name:'mydesc'
                }).then((res)=>{
                    this.detailInfo = res.data
                })
            },
        }
    };
</script>

<style lang="scss">
.mydetail{
    width: 90%;
    margin:30px auto;
}
</style>
